<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://java.sun.com/jsf/html">

<h:body>
		<h1>Hello #{UserBean.name}</h1>
		<h:form>
        <h:link outcome="/employ/gestisciComponenti" value="Gestisci Componenti" /> <br />
        <h:link outcome="/employ/gestisciPacchetti" value="Gestisci Pacchetti" /> <br />
 		
		
		<p:commandLink value="Crea un Pacchetto" action="AddPacchetto" actionListener="#{addpacchettibean.init()}"></p:commandLink>
		
<!--         <h:link outcome="/employ/AddPacchetto" value="Crea un Pacchetto"></h:link>
 -->        
       
        		<br /><h:link outcome="/share/BrowserPage" value="Naviga" /> <br />
        		<h:commandButton action="#{logoutBean.logout}" value="Logout"></h:commandButton>
        </h:form>
    </h:body>
</html>